package com.ssy.lingxi.order.api.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 订单服务查询相关商品信息时的接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-31
 */
public class OrderTradeProcessProductFeignVO implements Serializable {
    private static final long serialVersionUID = -7623405123363591419L;

    /**
     * 商品Id
     */
    @NotNull(message = "商品Id要大于0")
    @Positive(message = "商品Id要大于0")
    private Long productId;

    /**
     * 商品SkuId
     */
    @NotNull(message = "商品SkuId要大于0")
    @Positive(message = "商品SkuId要大于0")
    private Long skuId;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }
}
